package com.qianji.petmall.order.to;

import com.qianji.petmall.order.entity.OrderEntity;
import com.qianji.petmall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author liang zai
 * @date 2022/4/29 14:25
 * @description
 */
@Data
public class OrderCreateTo {
    //创建订单 添加到数据库中
    private OrderEntity order;

    private List<OrderItemEntity> orderItem;

    /**
     * 订单计算应付价格
     */
    private BigDecimal payPrice;//订单计算应付价格
    /**
     * 运费
     */
    private BigDecimal fare;//运费
}
